home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Misc / Crossword / Source / LeapfrogState.m < prev    next >
Text File  |  1992-10-11  |  559b  |  26 lines

  1. /*
  2.  
  3. File LeapfrogState.m
  4.  
  5. This is the state used for leapfrog search.  When backjumping past a square, the square remembers its current value and tries that value first the next time through.
  6.  
  7. */
  8.  
  9. #import <appkit/appkit.h>
  10.  
  11. #import "Leapfrog.h"
  12.  
  13.  
  14. /* ————————————————————————————————————————————————————————————————————————————  */
  15.  
  16.  
  17. @implementation LeapfrogState
  18.  
  19. - squareClass            {    return [LeapfrogSquare  class];        }
  20. - wordClass                {    return [LeapfrogWord  class];        }
  21.  
  22.  
  23. /* ————————————————————————————————————————————————————————————————————————————  */
  24.  
  25.  
  26. @end